package com.tb.dubbo_service;

import com.tb.dubbo.IOrderItemService;
import com.tb.mapper.OrderItemMapper;
import com.tb.pojo.OrderItem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class OrderItemServiceImpl implements IOrderItemService {

    @Autowired
    private OrderItemMapper orderItemMapper;

    @Override
    public int insertOrderItem(OrderItem orderItem) {
        return orderItemMapper.insertOrderItem(orderItem);
    }

    @Override
    public int updateCommentsStatus(int id) {
        return orderItemMapper.updateCommentsStatus(id);
    }


}
